package com.zsc.shixun.model.collect;

import com.zsc.shixun.entity.CollectCategories;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/18
 */
@Service
@Mapper(componentModel = "spring")
public interface CollectMapping {

    /**
     * @param collectCategories
     * @return
     */
    CollectVO entityToVo(CollectCategories collectCategories);

    /**
     * @param collectCategoriesList
     * @return
     */
    List<CollectVO> entitysToVos(List<CollectCategories> collectCategoriesList);
}
